package com.Image;

import android.widget.ImageView;

/**
 * Created by mac_wk on 15-1-7.
 */
public class ImageLoader {
    private static ImageLoader imageLoader = null;
    public static  ImageLoader getInstance(){
        if (imageLoader==null)
            imageLoader  = new ImageLoader();
        return imageLoader;
    }
    private ImageLoader(){}
    public void displayImage(String uri, ImageView imageView) {
        displayImage(uri, imageView, null, null, null);
    }
    public void displayImage(String uri, ImageView imageView, ImageOptions options) {
        displayImage(uri, imageView, options, null, null);
    }
    public void displayImage(String uri, ImageView imageView, ImageLoadingListener listener) {
        displayImage(uri, imageView, null, listener, null);
    }
    public void displayImage(String uri, ImageView imageView, ImageOptions options,
                             ImageLoadingListener listener) {
        displayImage(uri, imageView, options, listener, null);
    }
    public void displayImage(String uri, ImageView imageView, ImageOptions options,
                             ImageLoadingListener listener, ImageLoadingProgressListener progressListener) {

    }

}
